package com.raycloud.robot.custom.zdfUtils.dto.req;

import com.google.common.collect.ImmutableMap;
import java.util.Map;
import com.google.common.collect.Lists;
import java.util.List;
import com.raycloud.robot.custom.zdfUtils.dto.resp.DelGroupZdfResponse;
import com.raycloud.robot.custom.zdfUtils.dto.basic.BaseZdfRequest;

public class DelGroupZdfRequest implements BaseZdfRequest<DelGroupZdfResponse>{
    private List<String> groups;
    private Boolean removeEntity;
    public DelGroupZdfRequest(){
        this.groups=(List<String>)Lists.newArrayList();
        this.removeEntity=Boolean.FALSE;
    }
    public Boolean getRemoveEntity(){
        return this.removeEntity;
    }
    public void setRemoveEntity(final Boolean removeEntity){
        this.removeEntity=removeEntity;
    }
    public List<String> getGroups(){
        return this.groups;
    }
    public void setGroups(final List<String> groups){
        this.groups=groups;
    }
    @Override
    public String getHttpPath(){
        return "/groups/v1/remove";
    }
    @Override
    public Map<String,Object> getParams(){
        return ImmutableMap.of("groups",this.groups,"remove_entity",this.removeEntity);
    }
    @Override
    public Class<DelGroupZdfResponse> getResponseClass(){
        return DelGroupZdfResponse.class;
    }
}
